<!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="format-detection" content="telephone=no"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><link rel="icon" href="/images/icons/favicon-16x16.png?v=2.8.0" type="image/png" sizes="16x16"><link rel="icon" href="/images/icons/favicon-32x32.png?v=2.8.0" type="image/png" sizes="32x32"><meta property="og:type" content="website">
<meta property="og:title" content="Hexo">
<meta property="og:url" content="http://hipposox.github.io/index.html">
<meta property="og:site_name" content="Hexo">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="HippoSoX">
<meta name="twitter:card" content="summary"><title>Hexo</title><link ref="canonical" href="http://hipposox.github.io/index.html"><link rel="dns-prefetch" href="https://cdn.jsdelivr.net"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.12.1/css/all.min.css" type="text/css"><link rel="stylesheet" href="/css/index.css?v=2.8.0"><link rel="stylesheet" href="css/custom.css"><script>var Stun = window.Stun || {};
var CONFIG = {
  root: '/',
  algolia: undefined,
  assistSearch: undefined,
  fontIcon: {"prompt":{"success":"fas fa-check-circle","info":"fas fa-arrow-circle-right","warning":"fas fa-exclamation-circle","error":"fas fa-times-circle"},"copyBtn":"fas fa-copy"},
  sidebar: {"offsetTop":"20px","tocMaxDepth":6},
  header: {"enable":true,"showOnPost":true,"scrollDownIcon":false},
  postWidget: {"endText":true},
  nightMode: {"enable":true},
  back2top: {"enable":true},
  codeblock: {"style":"default","highlight":"dark","wordWrap":false},
  reward: false,
  fancybox: false,
  zoomImage: {"gapAside":"20px"},
  galleryWaterfall: undefined,
  lazyload: true,
  pjax: undefined,
  externalLink: {"icon":{"enable":true,"name":"fas fa-external-link-alt"}},
  shortcuts: undefined,
  prompt: {"copyButton":"复制","copySuccess":"复制成功","copyError":"复制失败"},
  sourcePath: {"js":"js","css":"css","images":"images"},
};

window.CONFIG = CONFIG;</script><meta name="generator" content="Hexo 5.4.2"></head><body><div class="container" id="container"><header class="header" id="header"><div class="header-inner"><nav class="header-nav header-nav--fixed"><div class="header-nav-inner"><div class="header-nav-menubtn"><i class="fas fa-bars"></i></div><div class="header-nav-menu"><div class="header-nav-menu-item"><a class="header-nav-menu-item__link" href="/"><span class="header-nav-menu-item__icon"><i class="fas fa-home"></i></span><span class="header-nav-menu-item__text">首页</span></a></div><div class="header-nav-menu-item"><a class="header-nav-menu-item__link" href="/archives/"><span class="header-nav-menu-item__icon"><i class="fas fa-folder-open"></i></span><span class="header-nav-menu-item__text">归档</span></a></div><div class="header-nav-menu-item"><a class="header-nav-menu-item__link" href="/categories/"><span class="header-nav-menu-item__icon"><i class="fas fa-layer-group"></i></span><span class="header-nav-menu-item__text">分类</span></a></div><div class="header-nav-menu-item"><a class="header-nav-menu-item__link" href="/tags/"><span class="header-nav-menu-item__icon"><i class="fas fa-tags"></i></span><span class="header-nav-menu-item__text">标签</span></a></div></div><div class="header-nav-mode"><div class="mode"><div class="mode-track"><span class="mode-track-moon"></span><span class="mode-track-sun"></span></div><div class="mode-thumb"></div></div></div></div></nav><div class="header-banner"><div class="header-banner-info"><div class="header-banner-info__title">erocool</div><div class="header-banner-info__subtitle">You know what</div></div></div></div></header><main class="main" id="main"><div class="main-inner"><div class="content-wrap" id="content-wrap"><div class="content content-home" id="content"><section class="postlist"><article class="postlist-item post"><header class="post-header"><h1 class="post-title"><a class="post-title__link" href="/2023/01/14/OCCT-Tutorials-and-Demos-03-Novice-Guide/">OCCT-Tutorials_and_Demos_03:Novice_Guide</a></h1><div class="post-meta"><span class="post-meta-item post-meta-item--createtime"><span class="post-meta-item__icon"><i class="far fa-calendar-plus"></i></span><span class="post-meta-item__info">发表于</span><span class="post-meta-item__value">2023-01-14</span></span><span class="post-meta-item post-meta-item--updatetime"><span class="post-meta-item__icon"><i class="far fa-calendar-check"></i></span><span class="post-meta-item__info">更新于</span><span class="post-meta-item__value">2023-01-14</span></span></div></header><div class="post-body"><div class="post-excerpt"><h1 id="tutorials-and-demos-03"   >
          <a href="#tutorials-and-demos-03" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#tutorials-and-demos-03"></a> Tutorials and Demos 03</h1>
      

        <h2 id="modeling-bottle-tutorials"   >
          <a href="#modeling-bottle-tutorials" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#modeling-bottle-tutorials"></a> Modeling: Bottle Tutorials</h2>
      
<blockquote>
<p>原文链接: <span class="exturl"><a class="exturl__link"   target="_blank" rel="noopener" href="https://dev.opencascade.org/doc/overview/html/occt__tutorial.html" >https://dev.opencascade.org/doc/overview/html/occt__tutorial.html</a><span class="exturl__icon"><i class="fas fa-external-link-alt"></i></span></span></p>
</blockquote>

        <h3 id="overview-概述"   >
          <a href="#overview-概述" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#overview-概述"></a> Overview 概述</h3>
      
<p>This tutorial will teach you how to use Open CASCADE Technology services to model a 3D object. The purpose of this tutorial is not to describe all Open CASCADE Technology classes but to help you start thinking in terms of Open CASCADE Technology as a tool.</p>
<p>本教程将教您如何使用OpenCASCADE技术服务来建模3D对象。本教程的目的不是描述所有开放式CASCADE技术类，而是帮助您开始将开放式CASCADE技术作为一种工具进行思考。</p></div><div class="post-readmore"><a class="post-readmore__link" href="/2023/01/14/OCCT-Tutorials-and-Demos-03-Novice-Guide/"><span class="post-readmore__text">阅读全文</span><span class="post-readmore__icon"><i class="fas fa-long-arrow-alt-right"></i></span></a></div></div></article><article class="postlist-item post"><header class="post-header"><h1 class="post-title"><a class="post-title__link" href="/2023/01/12/LFS-V-%E7%B3%BB%E7%BB%9F%E9%85%8D%E7%BD%AE/">LFS-V-系统配置</a></h1><div class="post-meta"><span class="post-meta-item post-meta-item--createtime"><span class="post-meta-item__icon"><i class="far fa-calendar-plus"></i></span><span class="post-meta-item__info">发表于</span><span class="post-meta-item__value">2023-01-12</span></span><span class="post-meta-item post-meta-item--updatetime"><span class="post-meta-item__icon"><i class="far fa-calendar-check"></i></span><span class="post-meta-item__info">更新于</span><span class="post-meta-item__value">2023-01-12</span></span></div></header><div class="post-body"><div class="post-excerpt"><h1 id="v-系统配置"   >
          <a href="#v-系统配置" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#v-系统配置"></a> V 系统配置</h1>
      
<p>引导 Linux 系统涉及多项任务。该进程必须挂载虚拟和真实文件系统，初始化设备，激活交换，检查文件系统的完整性，挂载任何交换分区或文件，设置系统时钟，启动网络，启动系统所需的任何守护进程，并完成任何用户需要的其他自定义任务。必须组织此过程以确保以正确的顺序执行任务，但同时尽可能快地执行。</p>

        <h2 id="第9节-系统配置"   >
          <a href="#第9节-系统配置" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#第9节-系统配置"></a> 第9节 系统配置</h2></div><div class="post-readmore"><a class="post-readmore__link" href="/2023/01/12/LFS-V-%E7%B3%BB%E7%BB%9F%E9%85%8D%E7%BD%AE/"><span class="post-readmore__text">阅读全文</span><span class="post-readmore__icon"><i class="fas fa-long-arrow-alt-right"></i></span></a></div></div></article><article class="postlist-item post"><header class="post-header"><h1 class="post-title"><a class="post-title__link" href="/2023/01/12/LFS-IV%E6%9E%84%E5%BB%BALFS%E7%B3%BB%E7%BB%9F/">LFS-IV-构建LFS系统</a></h1><div class="post-meta"><span class="post-meta-item post-meta-item--createtime"><span class="post-meta-item__icon"><i class="far fa-calendar-plus"></i></span><span class="post-meta-item__info">发表于</span><span class="post-meta-item__value">2023-01-12</span></span><span class="post-meta-item post-meta-item--updatetime"><span class="post-meta-item__icon"><i class="far fa-calendar-check"></i></span><span class="post-meta-item__info">更新于</span><span class="post-meta-item__value">2023-01-12</span></span></div></header><div class="post-body"><div class="post-excerpt"><h1 id="iv-构建lfs系统"   >
          <a href="#iv-构建lfs系统" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#iv-构建lfs系统"></a> IV 构建LFS系统</h1>
      

        <h2 id="第8章-构建lfs系统"   >
          <a href="#第8章-构建lfs系统" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#第8章-构建lfs系统"></a> 第8章 构建LFS系统</h2></div><div class="post-readmore"><a class="post-readmore__link" href="/2023/01/12/LFS-IV%E6%9E%84%E5%BB%BALFS%E7%B3%BB%E7%BB%9F/"><span class="post-readmore__text">阅读全文</span><span class="post-readmore__icon"><i class="fas fa-long-arrow-alt-right"></i></span></a></div></div></article><article class="postlist-item post"><header class="post-header"><h1 class="post-title"><a class="post-title__link" href="/2023/01/12/LFS-III-%E6%9E%84%E5%BB%BALFS%E4%BA%A4%E5%8F%89%E5%B7%A5%E5%85%B7%E9%93%BE%E5%92%8C%E4%B8%B4%E6%97%B6%E5%B7%A5%E5%85%B7/">LFS-III-构建LFS交叉工具链和临时工具</a></h1><div class="post-meta"><span class="post-meta-item post-meta-item--createtime"><span class="post-meta-item__icon"><i class="far fa-calendar-plus"></i></span><span class="post-meta-item__info">发表于</span><span class="post-meta-item__value">2023-01-12</span></span><span class="post-meta-item post-meta-item--updatetime"><span class="post-meta-item__icon"><i class="far fa-calendar-check"></i></span><span class="post-meta-item__info">更新于</span><span class="post-meta-item__value">2023-01-12</span></span></div></header><div class="post-body"><div class="post-excerpt"><h1 id="iii-构建-lfs-交叉工具链和临时工具"   >
          <a href="#iii-构建-lfs-交叉工具链和临时工具" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#iii-构建-lfs-交叉工具链和临时工具"></a> III 构建 LFS 交叉工具链和临时工具</h1>
      

        <h2 id="第5节-编译交叉编译工具链"   >
          <a href="#第5节-编译交叉编译工具链" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#第5节-编译交叉编译工具链"></a> 第5节 编译交叉编译工具链</h2></div><div class="post-readmore"><a class="post-readmore__link" href="/2023/01/12/LFS-III-%E6%9E%84%E5%BB%BALFS%E4%BA%A4%E5%8F%89%E5%B7%A5%E5%85%B7%E9%93%BE%E5%92%8C%E4%B8%B4%E6%97%B6%E5%B7%A5%E5%85%B7/"><span class="post-readmore__text">阅读全文</span><span class="post-readmore__icon"><i class="fas fa-long-arrow-alt-right"></i></span></a></div></div></article><article class="postlist-item post"><header class="post-header"><h1 class="post-title"><a class="post-title__link" href="/2023/01/12/LFS-II-%E5%87%86%E5%A4%87%E5%B7%A5%E4%BD%9C/">LFS-II-准备工作</a></h1><div class="post-meta"><span class="post-meta-item post-meta-item--createtime"><span class="post-meta-item__icon"><i class="far fa-calendar-plus"></i></span><span class="post-meta-item__info">发表于</span><span class="post-meta-item__value">2023-01-12</span></span><span class="post-meta-item post-meta-item--updatetime"><span class="post-meta-item__icon"><i class="far fa-calendar-check"></i></span><span class="post-meta-item__info">更新于</span><span class="post-meta-item__value">2023-01-12</span></span></div></header><div class="post-body"><div class="post-excerpt"><h1 id="ii-准备工作"   >
          <a href="#ii-准备工作" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#ii-准备工作"></a> II 准备工作</h1>
      

        <h2 id="第2节-准备宿主系统"   >
          <a href="#第2节-准备宿主系统" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#第2节-准备宿主系统"></a> 第2节 准备宿主系统</h2></div><div class="post-readmore"><a class="post-readmore__link" href="/2023/01/12/LFS-II-%E5%87%86%E5%A4%87%E5%B7%A5%E4%BD%9C/"><span class="post-readmore__text">阅读全文</span><span class="post-readmore__icon"><i class="fas fa-long-arrow-alt-right"></i></span></a></div></div></article><article class="postlist-item post"><header class="post-header"><h1 class="post-title"><a class="post-title__link" href="/2023/01/12/LFS-I-Introduction/">LFS-I-Introduction</a></h1><div class="post-meta"><span class="post-meta-item post-meta-item--createtime"><span class="post-meta-item__icon"><i class="far fa-calendar-plus"></i></span><span class="post-meta-item__info">发表于</span><span class="post-meta-item__value">2023-01-12</span></span><span class="post-meta-item post-meta-item--updatetime"><span class="post-meta-item__icon"><i class="far fa-calendar-check"></i></span><span class="post-meta-item__info">更新于</span><span class="post-meta-item__value">2023-01-12</span></span></div></header><div class="post-body"><div class="post-excerpt"><h1 id="笔者序"   >
          <a href="#笔者序" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#笔者序"></a> 笔者序</h1>
      
<blockquote>
<p>LFS官网: <span class="exturl"><a class="exturl__link"   target="_blank" rel="noopener" href="https://www.linuxfromscratch.org/lfs/read.html" >https://www.linuxfromscratch.org/lfs/read.html</a><span class="exturl__icon"><i class="fas fa-external-link-alt"></i></span></span></p>
</blockquote>
<p>本系列记录了笔者的操作系统课程设计“基于LFS的Linux发行版制作”中的大部分命令行操作，包含在构建过程中的一些bug排除过程，仅供参考。如果需要完整的构建教程，请前往LFS官网。</p>
<p>笔者基于LFS 11.0，以VMWare中的Ubuntu 18.04 LTS虚拟机作为宿主机进行构建。</p>
<p>第V部分系统配置中，笔者也没成功。。。</p>

        <h1 id="i-如何构建-lfs-系统"   >
          <a href="#i-如何构建-lfs-系统" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#i-如何构建-lfs-系统"></a> I 如何构建 LFS 系统</h1>
      
<p>LFS 系统必须在一个已经安装好的 Linux 发行版 (如 Debian、OpenMandriva、Fedora 或者 openSUSE) 中构建。这个安装好的 Linux 系统 (称为宿主) 提供包括编译器、链接器和 shell 在内的必要程序，作为构建新系统的起点。请在安装发行版的过程中选择“development” (开发) 选项，以使用这些工具。</p></div><div class="post-readmore"><a class="post-readmore__link" href="/2023/01/12/LFS-I-Introduction/"><span class="post-readmore__text">阅读全文</span><span class="post-readmore__icon"><i class="fas fa-long-arrow-alt-right"></i></span></a></div></div></article><article class="postlist-item post"><header class="post-header"><h1 class="post-title"><a class="post-title__link" href="/2023/01/12/OCCT-Tutorials-and-Demos-02-Draw-Demo-Scripts/">OCCT-Tutorials_and_Demos_02:Draw:Demo_Scripts</a></h1><div class="post-meta"><span class="post-meta-item post-meta-item--createtime"><span class="post-meta-item__icon"><i class="far fa-calendar-plus"></i></span><span class="post-meta-item__info">发表于</span><span class="post-meta-item__value">2023-01-12</span></span><span class="post-meta-item post-meta-item--updatetime"><span class="post-meta-item__icon"><i class="far fa-calendar-check"></i></span><span class="post-meta-item__info">更新于</span><span class="post-meta-item__value">2023-01-12</span></span></div></header><div class="post-body"><div class="post-excerpt"><h1 id="tutorials-and-demos-02"   >
          <a href="#tutorials-and-demos-02" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#tutorials-and-demos-02"></a> Tutorials and Demos 02</h1>
      
<blockquote>
<p>原文链接: <span class="exturl"><a class="exturl__link"   target="_blank" rel="noopener" href="https://dev.opencascade.org/doc/overview/html/samples__draw_scripts.html" >https://dev.opencascade.org/doc/overview/html/samples__draw_scripts.html</a><span class="exturl__icon"><i class="fas fa-external-link-alt"></i></span></span></p>
</blockquote>

        <h2 id="draw-demo-scripts-绘制演示脚本"   >
          <a href="#draw-demo-scripts-绘制演示脚本" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#draw-demo-scripts-绘制演示脚本"></a> Draw: Demo Scripts 绘制：演示脚本</h2>
      
<p>All demo scripts are provided with OCCT sources and locate in CASROOT/samples/tcl. To play around them please follow the steps below:</p>
<p>所有演示脚本都提供了OCCT源，并位于CASROOT/samples/tcl中。要绕过它们，请遵循以下步骤：</p></div><div class="post-readmore"><a class="post-readmore__link" href="/2023/01/12/OCCT-Tutorials-and-Demos-02-Draw-Demo-Scripts/"><span class="post-readmore__text">阅读全文</span><span class="post-readmore__icon"><i class="fas fa-long-arrow-alt-right"></i></span></a></div></div></article><article class="postlist-item post"><header class="post-header"><h1 class="post-title"><a class="post-title__link" href="/2023/01/12/OCCT-Tutorials-and-Demos-01-Novice-Guide/">OCCT-Tutorials_and_Demos_01:Novice_Guide</a></h1><div class="post-meta"><span class="post-meta-item post-meta-item--createtime"><span class="post-meta-item__icon"><i class="far fa-calendar-plus"></i></span><span class="post-meta-item__info">发表于</span><span class="post-meta-item__value">2023-01-12</span></span><span class="post-meta-item post-meta-item--updatetime"><span class="post-meta-item__icon"><i class="far fa-calendar-check"></i></span><span class="post-meta-item__info">更新于</span><span class="post-meta-item__value">2023-01-12</span></span></div></header><div class="post-body"><div class="post-excerpt"><h1 id="tutorials-and-demos-01"   >
          <a href="#tutorials-and-demos-01" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#tutorials-and-demos-01"></a> Tutorials and Demos 01</h1>
      
<blockquote>
<p>原文链接: <span class="exturl"><a class="exturl__link"   target="_blank" rel="noopener" href="https://dev.opencascade.org/doc/overview/html/samples__novice_guide.html" >https://dev.opencascade.org/doc/overview/html/samples__novice_guide.html</a><span class="exturl__icon"><i class="fas fa-external-link-alt"></i></span></span></p>
</blockquote>

        <h2 id="novice-guide-新手向导"   >
          <a href="#novice-guide-新手向导" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#novice-guide-新手向导"></a> Novice Guide 新手向导</h2>
      

        <h3 id="modeling-with-occt-key-differences-occt建模关键区别"   >
          <a href="#modeling-with-occt-key-differences-occt建模关键区别" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#modeling-with-occt-key-differences-occt建模关键区别"></a> Modeling with OCCT: Key differences OCCT建模：关键区别</h3>
      
<p>Open CASCADE Technology (OCCT) is an object-oriented C++ framework designed for rapid production of sophisticated CAD/CAM/CAE applications. In other words, it provides endless possibilities for raw 2D and 3D modeling in C++ environment. Unlike end-user software, it is used by the application developers and therefore strongly differs from the most popular CAD/CAM/CAE software packages. OCCT provides building blocks enough for modeling, editing, visualization, and data interoperability of 2D and 3D objects.</p>
<p>Open CASCADE Technology（OCCT）是一个面向对象的C<ins>框架，用于快速生成复杂的CAD/CAM/CAE应用程序。换句话说，它为C</ins>环境中的原始2D和3D建模提供了无尽的可能性。与最终用户软件不同，它由应用程序开发人员使用，因此与最流行的CAD/CAM/CAE软件包有很大不同。OCCT为2D和3D对象的建模、编辑、可视化和数据互操作性提供了足够的构建块。</p></div><div class="post-readmore"><a class="post-readmore__link" href="/2023/01/12/OCCT-Tutorials-and-Demos-01-Novice-Guide/"><span class="post-readmore__text">阅读全文</span><span class="post-readmore__icon"><i class="fas fa-long-arrow-alt-right"></i></span></a></div></div></article><article class="postlist-item post"><header class="post-header"><h1 class="post-title"><a class="post-title__link" href="/2023/01/12/TensorRT/">读代码学习TensorRT</a></h1><div class="post-meta"><span class="post-meta-item post-meta-item--createtime"><span class="post-meta-item__icon"><i class="far fa-calendar-plus"></i></span><span class="post-meta-item__info">发表于</span><span class="post-meta-item__value">2023-01-12</span></span><span class="post-meta-item post-meta-item--updatetime"><span class="post-meta-item__icon"><i class="far fa-calendar-check"></i></span><span class="post-meta-item__info">更新于</span><span class="post-meta-item__value">2023-01-14</span></span></div></header><div class="post-body"><div class="post-excerpt"><h1 id="读代码学习tensorrt"   >
          <a href="#读代码学习tensorrt" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#读代码学习tensorrt"></a> 读代码学习TensorRT</h1>
      
<blockquote>
<p>代码仓库: <span class="exturl"><a class="exturl__link"   target="_blank" rel="noopener" href="https://github.com/wang-xinyu/tensorrtx/tree/yolov5-v4.0/yolov5s" >https://github.com/wang-xinyu/tensorrtx/tree/yolov5-v4.0/yolov5s</a><span class="exturl__icon"><i class="fas fa-external-link-alt"></i></span></span></p>
<p>TensorRT 7.0 documentation: <span class="exturl"><a class="exturl__link"   target="_blank" rel="noopener" href="https://docs.nvidia.com/deeplearning/tensorrt/archives/tensorrt-700/tensorrt-api/c_api/namespacemembers_func.html" >https://docs.nvidia.com/deeplearning/tensorrt/archives/tensorrt-700/tensorrt-api/c_api/namespacemembers_func.html</a><span class="exturl__icon"><i class="fas fa-external-link-alt"></i></span></span></p>
<p>Cuda documentation: <span class="exturl"><a class="exturl__link"   target="_blank" rel="noopener" href="https://docs.nvidia.com/cuda/cuda-runtime-api/modules.html#modules" >https://docs.nvidia.com/cuda/cuda-runtime-api/modules.html#modules</a><span class="exturl__icon"><i class="fas fa-external-link-alt"></i></span></span></p>
</blockquote>

        <h2 id="tensorrt-做的工作"   >
          <a href="#tensorrt-做的工作" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#tensorrt-做的工作"></a> TensorRT 做的工作</h2>
      
<ul>
<li>构建期
<ul>
<li>模型解析/建立</li>
<li>计算图优化</li>
<li>节点消除</li>
<li>多精度支持</li>
<li>优选kernel/format</li>
<li>导入plugin</li>
<li>显存优化</li>
</ul>
</li>
<li>运行期
<ul>
<li>运行时环境</li>
<li>序列化反序列化</li>
</ul>
</li>
</ul>
<p><a target="_blank" rel="noopener" href="https://www.helloimg.com/image/oGD6Ac">
        <img   class="lazyload lazyload-gif"
          src="/images/loading.svg" data-src="https://www.helloimg.com/images/2023/01/14/oGD6Ac.png"  alt="TensorRT基本流程" border="0" />
      </a></p>

        <h2 id="版本"   >
          <a href="#版本" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#版本"></a> 版本</h2>
      
<ol>
<li>GTX1080 / Ubuntu16.04 / cuda10.0 / cudnn7.6.5 / tensorrt7.0.0 / nvinfer7.0.0 / opencv3.3</li>
<li>Yolov5 v4.0</li>
</ol>
<blockquote>
<p><strong>TensorRTX由于基于TensorRT7.0，与最新的8.5.2的API有较大不同</strong><br />
7.0 <span class="exturl"><a class="exturl__link"   target="_blank" rel="noopener" href="https://docs.nvidia.com/deeplearning/tensorrt/archives/tensorrt-700/tensorrt-api/c_api/index.html" >https://docs.nvidia.com/deeplearning/tensorrt/archives/tensorrt-700/tensorrt-api/c_api/index.html</a><span class="exturl__icon"><i class="fas fa-external-link-alt"></i></span></span><br />
latest(8.5.2 now) <span class="exturl"><a class="exturl__link"   target="_blank" rel="noopener" href="https://docs.nvidia.com/deeplearning/tensorrt/api/c_api/index.html" >https://docs.nvidia.com/deeplearning/tensorrt/api/c_api/index.html</a><span class="exturl__icon"><i class="fas fa-external-link-alt"></i></span></span></p>
</blockquote>

        <h2 id="yolov5cpp"   >
          <a href="#yolov5cpp" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#yolov5cpp"></a> yolov5.cpp</h2></div><div class="post-readmore"><a class="post-readmore__link" href="/2023/01/12/TensorRT/"><span class="post-readmore__text">阅读全文</span><span class="post-readmore__icon"><i class="fas fa-long-arrow-alt-right"></i></span></a></div></div></article><article class="postlist-item post"><header class="post-header"><h1 class="post-title"><a class="post-title__link" href="/2023/01/11/OCCT-Introduction/">OCCT_Introduction</a></h1><div class="post-meta"><span class="post-meta-item post-meta-item--createtime"><span class="post-meta-item__icon"><i class="far fa-calendar-plus"></i></span><span class="post-meta-item__info">发表于</span><span class="post-meta-item__value">2023-01-11</span></span><span class="post-meta-item post-meta-item--updatetime"><span class="post-meta-item__icon"><i class="far fa-calendar-check"></i></span><span class="post-meta-item__info">更新于</span><span class="post-meta-item__value">2023-01-12</span></span></div></header><div class="post-body"><div class="post-excerpt"><blockquote>
<p>原文链接: <span class="exturl"><a class="exturl__link"   target="_blank" rel="noopener" href="https://dev.opencascade.org/doc/overview/html/index.html#intro_overview_heal" >https://dev.opencascade.org/doc/overview/html/index.html#intro_overview_heal</a><span class="exturl__icon"><i class="fas fa-external-link-alt"></i></span></span></p>
</blockquote>

        <h1 id="open-cascade-technology"   >
          <a href="#open-cascade-technology" class="heading-link"><i class="fas fa-link"></i></a><a class="markdownIt-Anchor" href="#open-cascade-technology"></a> Open CASCADE Technology</h1>
      
<p>Welcome to Open CASCADE Technology (OCCT), a software development platform providing services for 3D surface and solid modeling, CAD data exchange, and visualization. Most of OCCT functionality is available in the form of C++ libraries. OCCT can be best applied in development of software dealing with 3D modeling (CAD), manufacturing / measuring (CAM) or numerical simulation (CAE).</p>
<p>欢迎使用开放式CASCADE技术（OCCT），这是一个软件开发平台，为三维曲面和实体建模、CAD数据交换和可视化提供服务。OCCT的大部分功能都以C++库的形式提供。OCCT最适用于处理三维建模（CAD）、制造/测量（CAM）或数值模拟（CAE）的软件开发。</p>
<p><span class="exturl"><a class="exturl__link"   target="_blank" rel="noopener" href="https://www.opencascade.com" >https://www.opencascade.com</a><span class="exturl__icon"><i class="fas fa-external-link-alt"></i></span></span></p>
<p><a target="_blank" rel="noopener" href="https://www.helloimg.com/image/oGdxUQ">
        <img   class="lazyload lazyload-gif"
          src="/images/loading.svg" data-src="https://www.helloimg.com/images/2023/01/12/oGdxUQ.png"  alt="Open CASCADE" border="0" />
      </a></p></div><div class="post-readmore"><a class="post-readmore__link" href="/2023/01/11/OCCT-Introduction/"><span class="post-readmore__text">阅读全文</span><span class="post-readmore__icon"><i class="fas fa-long-arrow-alt-right"></i></span></a></div></div></article></section><nav class="paginator"><div class="paginator-inner"><span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="extend next" rel="next" href="/page/2/"><i class="fas fa-angle-right"></i></a></div></nav></div></div><div class="sidebar-wrap" id="sidebar-wrap"><aside class="sidebar" id="sidebar"><section class="sidebar-toc hide"></section><!-- ov = overview--><section class="sidebar-ov"><div class="sidebar-ov-author"><div class="sidebar-ov-author__avatar"><img class="sidebar-ov-author__avatar_img" src="/images/icons/stun-logo.svg" alt="avatar"></div><p class="sidebar-ov-author__text">motto</p></div><div class="sidebar-ov-state"><a class="sidebar-ov-state-item sidebar-ov-state-item--posts" href="/archives/"><div class="sidebar-ov-state-item__count">19</div><div class="sidebar-ov-state-item__name">归档</div></a><a class="sidebar-ov-state-item sidebar-ov-state-item--categories" href="/categories/"><div class="sidebar-ov-state-item__count">6</div><div class="sidebar-ov-state-item__name">分类</div></a><a class="sidebar-ov-state-item sidebar-ov-state-item--tags" href="/tags/"><div class="sidebar-ov-state-item__count">14</div><div class="sidebar-ov-state-item__name">标签</div></a></div><div class="sidebar-ov-cc"><a href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en" target="_blank" rel="noopener" data-popover="知识共享许可协议" data-popover-pos="up"><img src="/images/cc-by-nc-sa.svg"></a></div></section><iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=330 height=86 src="//music.163.com/outchain/player?type=2&id=1449790718&auto=1&height=66"></iframe></aside></div><div class="clearfix"></div></div></main><footer class="footer" id="footer"><div class="footer-inner"><div><span>Copyright © 2023</span><span class="footer__icon"><i class="fas fa-heart"></i></span><span>HippoSoX</span></div><div><span>由 <a href="http://hexo.io/" title="Hexo" target="_blank" rel="noopener">Hexo</a> 强力驱动</span><span> v5.4.2</span><span class="footer__devider">|</span><span>主题 - <a href="https://github.com/liuyib/hexo-theme-stun/" title="Stun" target="_blank" rel="noopener">Stun</a></span><span> v2.8.0</span></div></div></footer><div class="loading-bar" id="loading-bar"><div class="loading-bar__progress"></div></div><div class="back2top" id="back2top"><span class="back2top__icon"><i class="fas fa-rocket"></i></span></div></div><script src="https://cdn.jsdelivr.net/npm/jquery@v3.4.1/dist/jquery.min.js"></script><script src="https://cdn.jsdelivr.net/npm/velocity-animate@1.5.2/velocity.min.js"></script><script src="https://cdn.jsdelivr.net/npm/velocity-animate@1.5.2/velocity.ui.min.js"></script><script src="https://cdn.jsdelivr.net/npm/lazyload@2.0.0-rc.2/lazyload.min.js"></script><script src="/js/utils.js?v=2.8.0"></script><script src="/js/stun-boot.js?v=2.8.0"></script><script src="/js/scroll.js?v=2.8.0"></script><script src="/js/header.js?v=2.8.0"></script><script src="/js/sidebar.js?v=2.8.0"></script></body></html>